<?php 
mysql_select_db($database_tecno, $tecno);
$query_det_prod = "SELECT * FROM detallescliente WHERE tipo ='1' AND id='".$row_prod['cedula']."' AND status <> 1 GROUP BY productoDes";
$det_prod = mysql_query($query_det_prod, $tecno) or die(mysql_error());
$row_det_prod = mysql_fetch_assoc($det_prod);
$totalRows_det_prod = mysql_num_rows($det_prod);
?>
